﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class T_Activity
    {
        public int Id { get; set; }

        public string CoverPage { get; set; }
        public int UserId { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 开奖模式
        /// </summary>
        public string PrizeModelCode { get; set; }
        /// <summary>
        /// 活动模式
        /// </summary>
        public string DrawModelCode { get; set; }
        /// <summary>
        /// 兑换模式
        /// </summary>
        public string ExchangeModelCode { get; set; }
        /// <summary>
        /// 开奖时间
        /// </summary>
        public DateTime? OpenTime { get; set; }
        /// <summary>
        /// 开奖人数
        /// </summary>
        public int? OpenCount { get; set; }
        /// <summary>
        /// 线下兑换地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 是否已开奖
        /// </summary>
        public int  IsOpen { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 是否上首页
        /// </summary>
        public int IsHome { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 排位积分
        /// </summary>
        public int Points { get; set; } = 0;
        /// <summary>
        /// 定位
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime? ExpireDate { get; set; }
    }
}
